package com.enjoyread.core.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.enjoyread.core.entity.UserDetail;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


/**
 * @author: JC
 * @time: 2021/10/27 16:48
 * @description:
 */
public interface UserDetailDao extends BaseMapper<UserDetail> {
    @Update("update t_userdetail set headurl=#{headurl} where uid=#{uid}")
    int updateHead(@Param("headurl")String headurl,@Param("uid")int uid);
}
